#-*-encoding=utf-8-*-
steps = [
    FlowStep(
        name=u'Reqest',
        title=u'客户申请',
        fields=[u'title', u'site', u'contactor', u'email', u'phone', u'products', u'requirements'],
        trigger=ur"""""",
        responsibles=u'[request.principal.id]',
    actions=[
        FlowStepAction(
            name=u'535814',
            title=u'提交',
            nextsteps=[u'Asign'],
            finish_condition=u''
)
])
,

    FlowStep(
        name=u'Asign',
        title=u'分派跟单人',
        fields=[u'importance', u'comments', u'salesman'],
        responsibles=u'flowsettings.manager',
    actions=[
        FlowStepAction(
            name=u'583698',
            title=u'分派',
            nextsteps=[u'Requrement'],
            finish_condition=u''
)
])
,

    FlowStep(
        name=u'Requrement',
        title=u'需求调查',
        fields=[u'products', u'title', u'site', u'contactor', u'email', u'phone', u'requirements', u'comments'],
        responsibles=u'sheet["responsible"]',
    actions=[
        FlowStepAction(
            name=u'453920',
            title=u'完成需求调查确认',
            nextsteps=[u'category'],
            finish_condition=u''
),

        FlowStepAction(
            name=u'965327',
            title=u'不适合',
            nextsteps=[],
            finish_condition=u''
)
])
,

    FlowStep(
        name=u'category',
        title=u'提交方案',
        fields=[],
        responsibles=u'sheet["responsible"]',
    actions=[
        FlowStepAction(
            name=u'281789',
            title=u'客户认可',
            nextsteps=[u'save'],
            finish_condition=u''
),

        FlowStepAction(
            name=u'582591',
            title=u'拒绝',
            nextsteps=[],
            finish_condition=u''
)
])
,

    FlowStep(
        name=u'save',
        title=u'商务合同',
        fields=[],
        responsibles=u'sheet["responsible"]',
    actions=[

])
]
